package com.peiqi.aiproject.utils;

import cn.dev33.satoken.secure.SaSecureUtil;
import cn.hutool.core.util.StrUtil;

public class PwdUtil {
    private static final String SALT = "peiqi";
    public static String encrypt(String passWord){
        if(StrUtil.isBlank(passWord)) return "";
        return SaSecureUtil.md5BySalt(passWord,SALT);
    }
}
